package com.seezoon.application.device.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.Length;

@Getter
@Setter
public class CreateFenceCmd {

    @Schema(description = "设备ID")
    @NotNull
    private Long deviceId;

    @Schema(description = "围栏名称")
    @NotEmpty
    @Length(max = 100)
    private String fenceName;

    @Schema(description = "中心纬度")
    @NotNull
    private Double centerLatitude;

    @Schema(description = "中心经度")
    @NotNull
    private Double centerLongitude;

    @Schema(description = "半径（米）")
    @NotNull
    private Integer radius;
} 